package cn.stylefeng.guns.modular.school.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 教师信息
 * </p>
 *
 * @author 
 * @since 2019-11-04
 */
@TableName("xx_teacher_info")
public class TeacherInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 学校信息表主键
     */
    @TableField("SCHOOL_ID")
    private Integer schoolId;

    /**
     * 教师编码
     */
    @TableField("CODE")
    private String code;

    /**
     * 教师姓名
     */
    @TableField("NAME")
    private String name;

    /**
     * 姓名拼音
     */
    @TableField("PINYIN")
    private String pinyin;

    /**
     * 教师姓名（英文）
     */
    @TableField("NAME_EN")
    private String nameEn;

    /**
     * 联系电话
     */
    @TableField("TEL")
    private String tel;

    /**
     * 备注
     */
    @TableField("MEMO")
    private String memo;

    /**
     * 性别 1、男 2、女
     */
    @TableField("SEX")
    private String sex;

    /**
     * 教师职称ID
     */
    @TableField("RANK_ID")
    private String rankId;

    /**
     * 任教学校主键
     */
    @TableField("TEACH_SCHOOL_SEQ_ID")
    private String teachSchoolSeqId;

    /**
     * 出生日期
     */
    @TableField("BIRTHDAY")
    private Date birthday;

    /**
     * 护照号
     */
    @TableField("PASSPORT")
    private String passport;

    /**
     * 身份证号
     */
    @TableField("ID_NUMERIC")
    private String idNumeric;

    /**
     * 0.在本单位任职1.暂未在本单位任职-交流轮岗2.暂未在本单位任职-长病假3.暂未在本单位任职-借出到机关4.暂未在本单位任职-因公出国5.暂未在本单位任职-其他
     */
    @TableField("STATUS")
    private String status;

    /**
     * 民族ID
     */
    @TableField("NATION_ID")
    private String nationId;

    /**
     * 国籍ID
     */
    @TableField("NATIONALITY_ID")
    private String nationalityId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public String getNameEn() {
        return nameEn;
    }

    public void setNameEn(String nameEn) {
        this.nameEn = nameEn;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getRankId() {
        return rankId;
    }

    public void setRankId(String rankId) {
        this.rankId = rankId;
    }

    public String getTeachSchoolSeqId() {
        return teachSchoolSeqId;
    }

    public void setTeachSchoolSeqId(String teachSchoolSeqId) {
        this.teachSchoolSeqId = teachSchoolSeqId;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getPassport() {
        return passport;
    }

    public void setPassport(String passport) {
        this.passport = passport;
    }

    public String getIdNumeric() {
        return idNumeric;
    }

    public void setIdNumeric(String idNumeric) {
        this.idNumeric = idNumeric;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getNationId() {
        return nationId;
    }

    public void setNationId(String nationId) {
        this.nationId = nationId;
    }

    public String getNationalityId() {
        return nationalityId;
    }

    public void setNationalityId(String nationalityId) {
        this.nationalityId = nationalityId;
    }

    @Override
    public String toString() {
        return "TeacherInfo{" +
        "id=" + id +
        ", schoolId=" + schoolId +
        ", code=" + code +
        ", name=" + name +
        ", pinyin=" + pinyin +
        ", nameEn=" + nameEn +
        ", tel=" + tel +
        ", memo=" + memo +
        ", sex=" + sex +
        ", rankId=" + rankId +
        ", teachSchoolSeqId=" + teachSchoolSeqId +
        ", birthday=" + birthday +
        ", passport=" + passport +
        ", idNumeric=" + idNumeric +
        ", status=" + status +
        ", nationId=" + nationId +
        ", nationalityId=" + nationalityId +
        "}";
    }
}
